package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_move_reversal;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_move_reversalSearchContext;

/**
 * 实体[Account_move_reversal] 服务对象接口
 */

public interface IAccount_move_reversalService{
     Account_move_reversal get(Integer id) ;
     Account_move_reversal get(Account_move_reversal account_move_reversal) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Account_move_reversal> account_move_reversals, int batchSize) ;
     void updateBatch(List<Account_move_reversal> account_move_reversals, int batchSize) ;
     boolean update(Account_move_reversal account_move_reversal) ;
     boolean remove(Integer id) ;
     boolean create(Account_move_reversal account_move_reversal) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_move_reversal> searchDefault(Account_move_reversalSearchContext context) ;

    /**
     * 根据日记账查询
     */
     Page<Account_move_reversal> selectByOdoo_journal(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_move_reversal> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_move_reversal> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_move_reversal convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_move_reversal model ,Account_move_reversal domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_move_reversal convert2Model(Account_move_reversal domain , cn.ibizlab.odoo.core.client.model.Iaccount_move_reversal model);

}
